(define-module (staging intel-vaapi-g45)
  #:use-module (guix packages)
  #:use-module (guix git-download)
  #:use-module (guix utils)
  #:use-module (gnu packages autotools )
  #:use-module (gnu packages video))

(define-public intel-vaapi-driver-g45-h264
  (let ((base intel-vaapi-driver)
        (commit "4b04c0391420cc53dc20b9da83e1c168537c4d72")
        (revision "1"))
    (package/inherit
      base
      (name "intel-vaapi-driver-g45-h264")
      (version (git-version "2.4.1" revision commit))
      (version (package-version base))
      (source (origin
                (method git-fetch)
                (uri (git-reference
                      (url "https://git.sr.ht/~jlicht/intel-vaapi-driver-g45")
                      (commit commit)))
                (file-name (git-file-name name version))
                (sha256
                 (base32
                  "0cj4s42j5jd956jzncvc8zx5p2z3zyidim9h492r24bvsnyizg5f")))))))

intel-vaapi-driver-g45-h264
